import request from '@/utils/request'
export function getBalance(params) {
  return request({
    url: '/admin/enterprise/getBalance',
    method: 'get',
    params: params
  })
}

export function getParams(params) {
  return request({
    url: '/admin/enterprise/getParams',
    method: 'post',
    params: params
  })
}

export function updateParams(data) {
  return request({
    url: '/admin/enterprise/updateParams',
    method: 'post',
    data: data
  })
}

export function getInfo() {
  return request({
    url: '/admin/enterprise/getInfo',
    method: 'get',
  })
}
